package com.shuda.business.monitor.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

/**
 * 数据监控查询VO类：移除Lombok，提供显式访问器，确保Service层编译。
 */
@Schema(name = "DataMonitorQueryVO", description = "数据监控查询VO")
public class DataMonitorQueryVO {

    @Schema(description = "渠道ID")
    private String channelId;

    @Schema(description = "分发方案ID")
    private String schemeId;

    @Schema(description = "数据ID")
    private String dataId;

    @Schema(description = "处理状态(pending-待处理,processing-处理中,success-成功,failed-失败)")
    private String status;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /** 获取渠道ID */
    public String getChannelId() { return channelId; }
    /** 设置渠道ID */
    public void setChannelId(String channelId) { this.channelId = channelId; }

    /** 获取分发方案ID */
    public String getSchemeId() { return schemeId; }
    /** 设置分发方案ID */
    public void setSchemeId(String schemeId) { this.schemeId = schemeId; }

    /** 获取数据ID */
    public String getDataId() { return dataId; }
    /** 设置数据ID */
    public void setDataId(String dataId) { this.dataId = dataId; }

    /** 获取处理状态 */
    public String getStatus() { return status; }
    /** 设置处理状态 */
    public void setStatus(String status) { this.status = status; }

    /** 获取开始时间 */
    public LocalDateTime getStartTime() { return startTime; }
    /** 设置开始时间 */
    public void setStartTime(LocalDateTime startTime) { this.startTime = startTime; }

    /** 获取结束时间 */
    public LocalDateTime getEndTime() { return endTime; }
    /** 设置结束时间 */
    public void setEndTime(LocalDateTime endTime) { this.endTime = endTime; }
}